home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11488 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Defining accuracy 
  5. Date: Sun, 24 Mar 96 16:25:58 GMT
  6. Organization: none
  7. Message-ID: <827684758snz@genesis.demon.co.uk>
  8. References: <DoKBM0.8L3.B.midge@bath.ac.uk>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <DoKBM0.8L3.B.midge@bath.ac.uk> py3heh@bath.ac.uk "H E Harmer" writes:
  15.  
  16. >Is there a way of defining the precision of the 'double' and 'long double' 
  17. >variables when compiling with an ANSI C compiler? I am looking to 
  18. >hopefully doubling it or better.
  19.  
  20. Generally no - the compiler defines the precision of the various floating
  21. point types. It typically corresponds to what the hardare supports.
  22.  
  23. -- 
  24. -----------------------------------------
  25. Lawrence Kirby | fred@genesis.demon.co.uk
  26. Wilts, England | 70734.126@compuserve.com
  27. -----------------------------------------
  28.